﻿using System;
using System.Collections.Generic;

namespace Caramel.Entities.Scaffolding.Metadata
{
	[Serializable()]
	public class Schema
	{
		public Schema()
		{
			this.Tables = new List<Table>();
		}

		public string Name { get; set; }

		public Catalog Catalog { get; set; }

		public List<Table> Tables { get; set; }

		public override string ToString()
		{
			return this.Name;
		}
	}
}
